<!DOCTYPE html>
<html class="x-admin-sm" lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>学校首页 P T 领贤兼职</title>
    <link rel="shortcut icon" th:href="@{/favicon.ico}"/>
    <meta content="webkit|ie-comp|ie-stand" name="renderer">
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" name="viewport" />
    <link rel="stylesheet" th:href="@{/layui/css/font.css}">
    <link rel="stylesheet" th:href="@{/layui/css/xadmin.css}">
    <script charset="utf-8" th:src="@{/layui/lib/layui/layui.js}"></script>
    <script th:src="@{/layui/js/xadmin.js}" type="text/javascript"></script>
</head>
<body class="index">
<!-- 顶部开始 -->
<div class="container">
    <div class="logo">
        <a href="/university_index">P T Platform</a></div>
    <div class="left_open">
        <a><i class="iconfont" title="展开左侧栏">&#xe699;</i></a>
    </div>
    <ul class="layui-nav right" lay-filter="" style="padding: 0 50px">
        <li class="layui-nav-item">
            <label for="idNum"></label><input id="idNum" style="display: none" th:value="${session.university.id}"/>
            <a href="javascript:" th:text="${session.university.universityName}"></a>
            <dl class="layui-nav-child">
                <!-- 二级菜单 -->
                <dd>
                    <a onclick="xadmin.open('学校信息','/university_Info?id='+idNum,null,null,false)">学校信息</a></dd>
                <dd>
                    <a onclick="layer.confirm('是否要切换用户', function () {location.href='/university_log_out'})">切换用户</a></dd>
                <dd>
                    <a onclick="xadmin.open('忘记并修改密码','/university_forgetPassword?id='+idNum,null,null,false)">忘记密码</a></dd>
                <dd>
                    <a onclick="layer.confirm('是否要退出用户', function () {location.href='/university_log_out'})">退出登录</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item to-index">
            <a href="/">前台首页</a></li>
    </ul>
</div>
<!-- 顶部结束 -->

<!-- 中部开始 -->
<!-- 左侧菜单开始 -->
<div class="left-nav">
    <div id="side-nav">
        <ul id="nav">
            <li>
                <a onclick="xadmin.add_tab('本校学生账户管理','/university_student_message?id='+idNum)">
                    <i class="iconfont left-nav-li" lay-tips="本校学生账户管理">&#xe6b8;</i>
                    <cite>本校学生账户管理</cite></a>
            </li>
            <li>
                <a href="javascript:">
                    <i class="iconfont left-nav-li" lay-tips="本校学生兼职信息管理">&#xe70b;</i>
                    <cite>本校学生兼职信息管理</cite>
                    <i class="iconfont nav_right">&#xe697;</i></a>
                <ul class="sub-menu">
                    <li>
                        <a onclick="xadmin.add_tab('学生兼职信息','/university_student_pt?id='+idNum)">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>学生兼职信息</cite></a>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
</div>
<!-- 左侧菜单结束 -->

<!-- 右侧主体开始 -->
<div class="page-content">
    <div class="layui-tab tab" lay-allowclose="false" lay-filter="xbs_tab">
        <ul class="layui-tab-title">
            <li class="home">
                <i class="layui-icon">&#xe68e;</i>我的主页</li></ul>
        <div class="layui-unselect layui-form-select layui-form-selected" id="tab_right">
            <dl>
                <dd data-type="this">关闭当前</dd>
                <dd data-type="other">关闭其它</dd>
                <dd data-type="all">关闭全部</dd></dl>
        </div>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <iframe class="x-iframe" src='/admin_welcome' style="border-width: 0;overflow-scrolling: auto"></iframe>
            </div>
        </div>
        <div id="tab_show"></div>
    </div>
</div>
<div class="page-content-bg"></div>
<!-- 右侧主体结束 -->
<!-- 中部结束 -->
<script>
    const idNum = document.getElementById("idNum").value;
</script>
</body>
</html>